<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:c="http://java.sun.com/jsp/jstl/core"
   xmlns:cc="http://java.sun.com/jsf/composite">

   <cc:interface>
      <cc:attribute name="label" required="true"/>
      <cc:attribute name="value" required="false"/>
      <cc:attribute name="verbatim" required="false" default="false"/>
   </cc:interface>

   <cc:implementation>
      <div class="entry" id="#{cc.clientId}">
         <span class="label">#{cc.attrs.label}:</span>
         <span class="output">
            <c:choose>
               <c:when test="#{cc.attrs.verbatim}"><cc:insertChildren/></c:when>
               <c:otherwise><h:outputText value="#{cc.attrs.value}"><cc:insertChildren/></h:outputText></c:otherwise>
            </c:choose>
         </span>
      </div>
   </cc:implementation>

</ui:composition>
